home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt - create a new GLX rendering context
-
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- GLXContext ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt( Display *_d_p_y,
- GLXFBConfig _c_o_n_f_i_g,
- int _r_e_n_d_e_r__t_y_p_e,
- GLXContext _s_h_a_r_e__l_i_s_t,
- Bool _d_i_r_e_c_t )
-
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _d_p_y Specifies the connection to the X server.
-
- _c_o_n_f_i_g Specifies the GLXFBConfig structure with the desired
- attributes for the context.
-
- _r_e_n_d_e_r__t_y_p_e Specifies the type of the context to be created. Must be
- one of GGGGLLLLXXXX____RRRRGGGGBBBBAAAA____TTTTYYYYPPPPEEEE or GGGGLLLLXXXX____CCCCOOOOLLLLOOOORRRR____IIIINNNNDDDDEEEEXXXX____TTTTYYYYPPPPEEEE.
-
- _s_h_a_r_e__l_i_s_t Specifies the context with which to share display lists.
- NNNNUUUULLLLLLLL indicates that no sharing is to take place.
-
- _s_h_a_r_e__l_i_s_t Specifies whether rendering is to be done with a direct
- connection to the graphics system if possible (TTTTrrrruuuueeee) or
- through the X server (FFFFaaaallllsssseeee).
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt creates a GLX rendering context and returns its
- handle. This context can be used to render into GLX windows, pixmaps, or
- pixel buffers. If ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt fails to create a rendering
- context, NNNNUUUULLLLLLLL is returned.
-
- If _r_e_n_d_e_r__t_y_p_e is GGGGLLLLXXXX____RRRRGGGGBBBBAAAA____TTTTYYYYPPPPEEEE, then a context that supports RGBA
- rendering is created. If _c_o_n_f_i_g is GGGGLLLLXXXX____CCCCOOOOLLLLOOOORRRR____IIIINNNNDDDDEEEEXXXX____TTTTYYYYPPPPEEEE, then context
- supporting color-index rendering is created.
-
- If _r_e_n_d_e_r__t_y_p_e is not NNNNUUUULLLLLLLL, then all display-list indexes and definitions
- are shared by context _r_e_n_d_e_r__t_y_p_e and by the newly created context. An
- arbitrary number of contexts can share a single display-list space.
- However, all rendering contexts that share a single display-list space
- must themselves exist in the same address space. Two rendering contexts
- share an address space if both are nondirect using the same server, or if
- both are direct and owned by a single process. Note that in the
- nondirect case, it is not necessary for the calling threads to share an
- address space, only for their related rendering contexts to share an
- address space.
-
- If _s_h_a_r_e__l_i_s_t is TTTTrrrruuuueeee, then a direct rendering context is created if the
- implementation supports direct rendering, if the connection is to an X
- server that is local, and if a direct rendering context is available. (An
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt((((3333GGGG))))
-
-
-
- implementation may return an indirect context when _s_h_a_r_e__l_i_s_t is TTTTrrrruuuueeee.)
- If _s_h_a_r_e__l_i_s_t is FFFFaaaallllsssseeee, then a rendering context that renders through the
- X server is always created. Direct rendering provides a performance
- advantage in some implementations. However, direct rendering contexts
- cannot be shared outside a single process, and they may be unable to
- render to GLX pixmaps.
-
- NNNNOOOOTTTTEEEESSSS
- ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt is available only if the GLX version is 1.3 or
- greater.
-
- If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX
- version is 1.2, then the GL version must be 1.1. If the GLX version is
- 1.3, then the GL version must be 1.2.
-
- EEEERRRRRRRROOOORRRRSSSS
- NNNNUUUULLLLLLLL is returned if execution fails on the client side.
-
- GGGGLLLLXXXXBBBBaaaaddddCCCCoooonnnntttteeeexxxxtttt is generated if _r_e_n_d_e_r__t_y_p_e is not a GLX context and is not
- NNNNUUUULLLLLLLL.
-
- GGGGLLLLXXXXBBBBaaaaddddFFFFBBBBCCCCoooonnnnffffiiiigggg is generated if _c_o_n_f_i_g is not a valid GLXFBConfig.
-
- BBBBaaaaddddMMMMaaaattttcccchhhh is generated if the context to be created would not share the
- address space or the screen of the context specified by _r_e_n_d_e_r__t_y_p_e.
-
- BBBBaaaaddddAAAAlllllllloooocccc is generated if the server does not have enough resources to
- allocate the new context.
-
- BBBBaaaaddddVVVVaaaalllluuuueeee is generated if _c_o_n_f_i_g is not a valid visual (for example, if a
- particular GLX implementation does not support it).
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiigggg, ggggllllXXXXCCCCrrrreeeeaaaatttteeeeCCCCoooonnnntttteeeexxxxtttt, ggggllllXXXXDDDDeeeessssttttrrrrooooyyyyCCCCoooonnnntttteeeexxxxtttt, ggggllllXXXXGGGGeeeettttFFFFBBBBCCCCoooonnnnffffiiiiggggssss,
- ggggllllXXXXGGGGeeeettttFFFFBBBBCCCCoooonnnnffffiiiiggggAAAAttttttttrrrriiiibbbb, ggggllllXXXXIIIIssssDDDDiiiirrrreeeecccctttt, ggggllllXXXXMMMMaaaakkkkeeeeCCCCoooonnnntttteeeexxxxttttCCCCuuuurrrrrrrreeeennnntttt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-